$OpenBSD: patch-media_video_capture_video_capture_device_h,v 1.2 2015/07/23 13:44:04 robert Exp $
--- media/video/capture/video_capture_device.h.orig.port	Wed Jul 15 22:30:05 2015
+++ media/video/capture/video_capture_device.h	Wed Jul 22 08:37:30 2015
@@ -42,7 +42,7 @@ class MEDIA_EXPORT VideoCaptureDevice {
     Name();
     Name(const std::string& name, const std::string& id);
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
     // Linux/CrOS targets Capture Api type: it can only be set on construction.
     enum CaptureApiType {
       V4L2_SINGLE_PLANE,
@@ -86,7 +86,7 @@ class MEDIA_EXPORT VideoCaptureDevice {
 #endif
 
 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || \
-    defined(OS_ANDROID)
+    defined(OS_ANDROID) || defined(OS_BSD)
     Name(const std::string& name, const std::string& id,
          const CaptureApiType api_type);
 #endif
@@ -124,7 +124,7 @@ class MEDIA_EXPORT VideoCaptureDevice {
     }
 
 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || \
-    defined(OS_ANDROID)
+    defined(OS_ANDROID) || defined(OS_BSD)
     CaptureApiType capture_api_type() const {
       return capture_api_class_.capture_api_type();
     }
@@ -156,7 +156,7 @@ class MEDIA_EXPORT VideoCaptureDevice {
     std::string device_name_;
     std::string unique_id_;
 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || \
-    defined(OS_ANDROID)
+    defined(OS_ANDROID) || defined(OS_BSD)
     // This class wraps the CaptureApiType to give it a by default value if not
     // initialized.
     class CaptureApiClass {
